.Net Framework > v2.0.50727 > System > Messaging > MessageQueue > Peek Peek()
Peek(TimeSpan)
Peek(TimeSpan,Cursor,PeekAction)


Peek()

Category
Method
Description
Returns without removing (peeks) the first message in the queue referenced by this System.Messaging.MessageQueue. The System.Messaging.MessageQueue.Peek method is synchronous, so it blocks the current thread until a message becomes available.
Type
Message
Character
public
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Peek(TimeSpan)

Category
Method
Description
Returns without removing (peeks) the first message in the queue referenced by this System.Messaging.MessageQueue. The System.Messaging.MessageQueue.Peek method is synchronous, so it blocks the current thread until a message becomes available or the specified time-out occurs.
Type
Message
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Peek(TimeSpan,Cursor,PeekAction)

Category
Method
Description
Returns without removing (peeks) the current or next message in the queue, using the specified cursor. The System.Messaging.MessageQueue.Peek method is synchronous, so it blocks the current thread until a message becomes available or the specified time-out occurs.
Type
Message
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
cursorCursor
actionPeekAction
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database